package com.jobpass.router;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ViewRouter {

    @GetMapping("img")
    private String img()
    {
        return "img";
    }

    @RequestMapping({"/", "index"})
    private String index()
    {
        return "index";
    }

    @RequestMapping({"company/admin"})
    private String adminIndex()
    {
        return "admin/index";
    }

    @RequestMapping({"toLogin"})
    private String toLogin()
    {
        return "index";
    }

}
